Welding-type power supply with a state-based controller

ABSTRACT

A method and apparatus for providing welding-type power includes a source of welding-type power and a controller. The controller is a state-based controller, and/or a deterministic control module, connected to the controller output. The state-based control module includes, in an embodiment, software instructions and a digital processor, and/or a state transition table stored in a spreadsheet data base. The controller is responsive to a feedback circuit. One or more welding peripherals, such as a wire feeder or robot, are connected to the controller. The current state may be represented by data in a first line of a spreadsheet and a state-ending event by a second, perpendicular, line of a spreadsheet. The subsequent state is determined by the intersection of the first and second lines in another embodiment.

FIELD OF THE INVENTION

The present invention relates generally to the art of welding-type power supplies. More specifically, it relates to the control of welding-type power supplies.

BACKGROUND OF THE INVENTION

Welding power supplies or systems are available for a wide variety of processes, and with a wide variety of sophistication. Welding-type power supply or system, as used herein, includes power supplies or systems that provide welding, cutting or heating power, and may include a controller, switches, etc. Traditionally, a good weld required an experienced welder, not only to properly execute the weld, but to properly select operating parameters (such as output voltage, current, power, pulse width, wire feed speed, etc.)

Now, robots are available that execute the weld. Also, operating parameters may be pre-determined and automatically implemented by a controller in the welding-type power supply. The automation is typically a software program that describes the output waveform, and is executed by a digital processor (microprocessors, DSPs, etc.). The program attempts to implement and improve upon the decisions that had been made by the experienced welder.

The programs and waveforms are “hard-coded”, where a computer program includes typical control loops and procedures, such as “if-then, “go-to”, etc. For example, a decision would be on the order of: “if the pulse phase has timed out and we are not in a short circuit and the trigger is still pulled then go to the background phase” (written, of course, in a computer language such as “C”).

While how to write such a program is well known, it can be very difficult to modify such a program. Modification requires a review of each line of code, which is then carefully modified to give the desired result. Modification can, of course, cause unexpected consequences or require re-writing of entire sections. Such changes may be extremely time consuming, requires the person doing the modification to understand the software language and understand the particular interaction of all the hard coded lines in the system. Also, with each change, software bugs may be introduced and the program can require extensive trouble-shooting.

Welding automation is becoming increasingly sophisticated. This requires increasingly sophisticated control software, which only exacerbates the difficulty in updating or modifying a welding program. For example, a weld process might include peak amps, background amps, and a first ramp for the transition from background to peak. As the process control becomes more sophisticated, a second ramp from peak to background might be added, or the first ramp might be broken into two section with different slopes. It requires a substantial re-writing of the hard code to include these waveform segments. Then, if additional changes are made later, the code must be written again. Each addition to the code can lengthen the code, and make subsequent changes even more difficult.

Accordingly, a method and apparatus for controlling a welding-type power supply that allows for changing the waveform without requiring a lengthy and difficult re-writing of a program is desirable.

SUMMARY OF THE PRESENT INVENTION

According to a first aspect of the invention a welding-type system includes a source of welding-type power and a controller. The controller has an output operatively connected to the source. The controller also includes a state-based control module, and/or a deterministic control module, connected to the controller output.

According to a second aspect of the invention a method of providing a welding-type output includes providing a source of welding-type power and controlling the source using a state-based control scheme.

The state-based control module includes software instructions and a digital processors and/or includes a state transition table stored in a spreadsheet data base, where a subsequent state and a current state are represented by data from the spreadsheet in various embodiments.

A feedback circuit is connected to the source and the controller and the state-based control module is responsive to the feedback circuit in another embodiment.

One or more welding peripherals, such as a wire feeder or robot, are operatively connected to the controller output in other embodiments.

The current state is represented by data in a first line of a spreadsheet and a state-ending event is indicated by a second, perpendicular, line of a spreadsheet, and the subsequent state is determined by the intersection of the first and second lines in another embodiment.

The data includes addressing data and/or parameter data in other embodiments.

According to a third aspect of the invention a method of controlling a welding-type system that operates in a plurality of states includes determining the present state of the system and determining at least one condition in which it is desired to end the state. The system is monitored for the existence of the at least one condition and a subsequent state to enter is selected from the plurality of states if the at least one condition exists. The selection is responsive to the at least one condition.

The at least one condition is a plurality of conditions, and the selecting is responsive to which of the plurality is met, and in order of first occurrence followed by priority, in an alternative.

The present state of the system includes correlating to a first set of data in a database, and/or determining at least one condition in which it is desired to end the state includes retrieving data from the first set of data, and/or selecting includes accessing a subset of the set of data in various alternatives.

The existence of the at least one condition includes monitoring at least one of timeouts and feedback in another embodiment.

Other principal features and advantages of the invention will become apparent to those skilled in the art upon review of the following drawings, the detailed description and the appended claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is diagram of a welding-type power supply in accordance with the present invention;

FIG. 2 is state-transition table in accordance with the present invention;

FIGS. 3A and 3B are a state-transition table in accordance with the present invention.

Before explaining at least one embodiment of the invention in detail it is to be understood that the invention is not limited in its application to the details of construction and the arrangement of the components set forth in the following description or illustrated in the drawings. The invention is capable of other embodiments or of being practiced or carried out in various ways. Also, it is to be understood that the phraseology and terminology employed herein is for the purpose of description and should not be regarded as limiting. Like reference numerals are used to indicate like components.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

While the present invention will be illustrated with reference to a particular system and controller it should be understood at the outset that the invention may also be implemented with other systems and controls, used in other applications, and used with other data.

Generally, the invention relates to controlling a welding-type system using a state-based controller. The controller includes a state-based control module that has a state transition table stored in a spreadsheet database, preferably in non-volatile memory.

Controller, as used herein, includes digital and analog circuitry, discrete or integrated circuitry, microprocessors, DSPs, etc., and software, hardware and firmware, located on one or more boards, used to control a device such as a power supply or power source. State transition table, as used herein, includes a table showing subsequent states in view of the current state and the conditions that lead to the subsequent states. State-based control module, as used herein, includes a control module, hardware or software, that implements a state transition table. Spreadsheet data base, as used herein, includes an array of one, two, three, or more dimensions that has information accessed using an index.

The database is, in the preferred embodiment, two-dimensional. Each state of the system is represented by one line (preferably a row) in the database. Line of a spreadsheet, as used herein, includes a set of data in a multi-dimensional array, wherein the set is identified by a common index for one of the dimensions. Perpendicular lines, such as columns, are used to provide operating parameters (such as current, voltage, wire feed speed, etc.), and to indicate what inputs result in a state change, and what the subsequent state will be. The following table shows a simple state transition table for a system with four states (peak, background, restrike, and restrike return) and three events that can result in a change of state (timeout, short detect and arc detect):

STATE (Phase) Timeout Short Detect Arc Detect Peak Background Restrike Peak Background Peak Restrike Background Restrike Restrike Restrike Restrike Return Restrike Retn Peak Restrike Restrike Return

Each row indicates a state and each column indicates an event or condition that can end a state. The intersection of a row and column indicate the next state. Given the above table, if the system is in the peak portion of the waveform, the “peak” row is used to determine the next state. If the event that triggers the system to end the current state is a timeout, then the “timeout” column is used. Where the selected row and column intersect, the next state is given. Thus, in this case if the system times out while in the peak state it next goes to the background state. Similarly, if the system is in the background state and a short is detected the next state is restrike.

Another state may be added by simply adding an additional row to the table. Likewise, another state-changing condition can be added by adding another column to the table. The subsequent state can be changed by simply changing the entry in a given cell. The data in the cells that give the next state is called addressing data, because it indicates the index (the row) of the next state. Addressing data, as used herein, includes data directed to an index, location or other specifier of an array or memory.

Additional columns or rows can be provided to give parameter data for a given state—for example the magnitude of current or voltage, and the wire feed speed columns could be added. Parameter data, as used herein, includes data that sets operating points for a device (such as current magnitude, wire feed speed, etc.). Alternatively, the parameter data could be added in a third dimension to the array. Parameter data could also be given in additional rows or columns for thresholds (the voltage that determines if a short or arc is detected, e.g.).

The example above was given using a column and row arrangement, but the state-transition information could simply be memory accessed using an index (with a number of dimensions corresponding to the number of dimensions of a table).

Using a state table it is relatively easy to provide control of the weld output with shorter duration intervals by merely adding additional states or providing additional state-ending events. The states in the table above have a resolution in the 50-100 microsecond range, and are called phases.

The present invention also contemplates a state-based control over a longer time-frame, such as between different stages of the welding process including Preflow, Start Power, Weld Ramp, Weld1, Weld2, Crater Ramp, Crater, and Postflow. These stages are controlled on the order of 1 millisecond increments, and are called welding sequences. The invention contemplates a state-based control of one or both of phases and sequences.

In either case the output is characterized as a series of smaller segments. The waveform may have phases described by, for example, a leading ramp, an amplitude, and a timeout time. By stringing a number of phases together a multitude of waveforms can be created. The ramp can be further defined with a number of different shapes and rates. The amplitude can be any level. The time is marked from the beginning of the phase. The values for the ramp, amplitude, and time of each phase can be held by a database of numbers. Thus, virtually any waveform can be described, and a state-based control may be used.

Referring now to FIG. 1, a welding-type power supply 100 having a state-based control is shown. System 100 includes a source of welding-type power 102, a wire feeder 112, a robot 110 and a controller 104. Controller 104 includes a state-based control module 106. The components cooperate to provide a welding-type output Welding-type system, as used herein, includes welders, plasma cutters and induction heaters. Source of welding-type power, as used herein, is the power circuitry and associated circuitry that produce welding-type power when power is applied thereto. Welding-type power, as used herein, includes power suitable welding, cutting and/or heating.

Power source 102 may be any power source, and examples include the power supplies found in the Miller Alt304® or Miller MaxStar® welding systems, also described in U.S. patent application Ser. No. 09/540,567, filed Mar. 31, 2000, entitled Method And Apparatus For Receiving A Universal Input Voltage In A Welding, Plasma Or Heating Power Source, and one described in U.S. Pat. No. 6,115,273, entitled Power Converter With Low Loss Switching, issued Sep. 5, 2000, which is hereby incorporated by reference.

Wire feeder 112 and robot 110 may be any commercially available welding peripheral. Welding peripheral, as used herein, includes wire feeders, robots, or any other device that can be part of a welding-type system.

Controller 104 and state-based control module 106 are preferably microprocessor based, and include flash or other non-volatile memory. Controller 104 is operatively connected to and communicates control signals, and receives feedback from, the other components. The communication may be of any form, but a network with a standard protocol, such as DeviceNet, is preferred. Operatively connected, as used herein, includes control connections, power connections, and/or analog connections, that may be hardware (wired or wireless) or software, by instructions.

An example of a spreadsheet having a state-transition table that may be used with system 100 is shown in FIG. 2. Five programs, Production Pulse and ACMIG1-4 are shown. The output can be a short or an arc, and the next phase for each is shown in columns 2 and three for each of the four segments or phases of the waveform. Columns 4-7 provide information what constitutes an arc detect, short detect, or timeout.

FIGS. 3A and 3B show a state-transition table for a sequence used with the system of FIG. 1. FIG. 3B is additional columns for use with the columns of FIG. 3A. The following table explains the abbreviations used in FIGS. 3A and 3B.

Timeout Timeout What State should you go to when the time of the present state expires. Trig On Trig What State should you go to when the on trigger is on. Trig Off Trig What State should you go to when the off trigger is off. Jog Jog What State should you go to when Jog is requested. Pur Purge What State should you go to when Purge is requested. ALG1 Analog1 (V) 0 = ignore analog input and use canned values; 1 = follow the 1-10 V input for voltage/Trim setting. ALG2 Analog1 (WFS) 0 = ignore analog input and use canned values; 1 = follow the 1-10 V input for WFS setting. TS Touch Sense TS = input from robot is allowed and if it is active, go to Touch Sense State (& do nothing but wait); x = input is ignored Err1 Error1 Highest priority error 1 = shut down now! ! ! ! ! Err2 Error2 Second level error. 1 = do a controlled stop/ Dry run can continue W1 Warning Lowest level error. 1 = alert operator of condition but continue to weld as normal/Dry run continues. Eclr Error Clear Operator acknowledged the error. Allow another weld or further info to operator. Time Preset Time Preset time for timeout of each state. 0 = skip state (except for WELD1 0 = stay in state as long as TRIG is active) Volts Preset Volt Preset Voltage command for each state. If ANALOG1 = 1 ignore Preset Volts and follow the analog value. WFS Preset WFS Preset Wire Feed Speed command for each state. If ANALOG2 = 1, ignore Preset & follow the analog input. Ind/Arc Induct/ Preset Inductance/Arc Control command for ARC each state. Prg# Preset Preset Program Number (1-8 of the active Prog # progs). Ignore if the RPS is active GAS Gas Valve 0 = OFF 1 = ON Arc Arc State An output telling if each state is an arc state Out or not = MAY NOT BE USED. Motn Motion An output telling if motion is allowed during each state. OutA Prog Out A Programmable output #1 is active for 1 and 0 = off. OutB Prog Out B Programmable output #2 is active for 1 and 0 = off. DAC Diagnostic DAC value is used for each state to help determine where the code is. Bits Diagnostic 16 bit port used for diagnostic flags in the software

The state tables given are merely exemplary, and other states or data could readily be stored therein.

During a welding process it is possible to have whisker shorts—a very brief short circuit. This often occurs during the background phase (but may occur at other times also). The control scheme interprets the beginning of the short as the end of the background phase, and then proceeds to the next state. A whisker short quickly ends, and the control scheme interprets that event as the end of the short phase, and proceeds to the next state (ramp e.g.). However, often it is desirable to return to the background phase (as if the whisker short had never happened). Thus, when the whisker short ends, the desired next state is deterministic—not only does the event that ended it matter (the whisker short clearing), but other parameters including the duration of the current state (the whisker short), and the duration of the previous state (background). Other subsequent states may be deterministic as well, and the loop may jump to a phase other than the previous state.

One alternative provides for a deterministic control. In addition to using the column in the array, other parameters determine the next state. Deterministic control, as used herein, includes selecting the subsequent phase based on the current phase, the phase ending event, and other factors, including duration in the current or previous phase. Deterministic control module, as used herein, includes a control module implementing a deterministic control.

Numerous modifications may be made to the present invention which still fall within the intended scope hereof. Thus, it should be apparent that there has been provided in accordance with the present invention a method and apparatus for a welding-type system with a state-based controller that fully satisfies the objectives and advantages set forth above. Although the invention has been described in conjunction with specific embodiments thereof, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art. Accordingly, it is intended to embrace all such alternatives, modifications and variations that fall within the spirit and broad scope of the appended claims. 

The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:
 1. A welding-type system comprising: a source of welding-type system power; a controller, having a controller output operatively connected to the source; wherein the controller includes a state-based control module, including software instructions and a digital processor, and connected to the controller output; a feedback circuit connected to the source and the controller, wherein the state-based control module is responsive to the feedback circuit; and a welding peripheral operatively connected to the controller output; wherein the state-based control module includes a state transition table stored in a spreadsheet data base; wherein the current state is represented by data in a first line of the spreadsheet; wherein a state-ending event is indicated by a second line of the spreadsheet; wherein the first line is perpendicular to the second line; and wherein the subsequent state is determined by the intersection of the first and second lines.
 2. A method of providing a welding-type output, comprising: providing a source of welding-type power; controlling the source using a state-based control scheme, including, storing a state transition table stored in a spreadsheet data base; representing the current state with data in a first line of the spreadsheet; representing a state-ending event with a second line of the spreadsheet; wherein the first line is perpendicular to the second line; and determining a subsequent state by the intersection of the first and second lines.
 3. A method of controlling a welding-type system that operates in a plurality of states, comprising; determining the present state of the system; determining at least one condition in which it is desired to end the state; monitoring for the existence of the at least one condition; selecting a subsequent state to enter, from the plurality of stated if the at least one condition exists; wherein selecting is responsive to the at least one condition; and wherein the at least one condition is a plurality of conditions, and the selecting is responsive to which of the plurality is met.
 4. The method of claim 3 wherein determining the present state of the system includes correlating to a first set of data in a database.
 5. The method of claim 4, wherein determining at least one condition in which it is desired to end the state includes retrieving data from the first set of data.
 6. The method of claim 5, wherein monitoring for the existence of the at least one condition includes monitoring at least one of timeouts and feedback.
 7. The method of claim 6 wherein selecting includes accessing a subset of the set of data.
 8. An apparatus for controlling a welding-type system that operates in a plurality of states, comprising: means for determining the present state of the system; means for determining at least one condition in which it is desired to end the state, operatively connected to the means for determining the present state; means for monitoring for the existence of the at least one condition, operatively connected to the means for determining the present state; and means for selecting a subsequent state to enter, from the plurality of states in response to the existence of the at least one condition operatively connected to the means for determining the present state; wherein the at least one condition is a plurality of condition, and the means for selecting includes means for selecting, responsive to which of the plurality is met.
 9. A welding-type system comprising: a source of welding-type power; and a controller, having a controller output operatively connected to the source; wherein the current output state is represented by data in a first line of a spreadsheet; a state-ending event is indicated by a second line of the spreadsheet; wherein the first line is perpendicular to the second line; and the subsequent output state is determined by the intersection of the first and second lines.
 10. A method of controlling a welding-type system comprising: represented a current output state by data in a first line of a spreadsheet; represented a state-ending event by a second line of the spreadsheet; wherein the first line is perpendicular to the second line; and representing the subsequent output state by the intersection of the first and second lines. 